From: Olaf Hering Date: Tue, 5 Jan 2021 08:30:48 +0000 (+0100) Subject: tools/libxenguest: handle more than 16T in precopy_stats X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1200 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=4e421ad0f4e4286c81aae839f9e99e73718a64ae;p=xen.git tools/libxenguest: handle more than 16T in precopy_stats total_written tracks the number of transferred dirty pages. Signed-off-by: Olaf Hering Acked-by: Wei Liu --- diff --git a/tools/include/xenguest.h b/tools/include/xenguest.h index a9984dbea5..775cf34c04 100644 --- a/tools/include/xenguest.h +++ b/tools/include/xenguest.h @@ -438,7 +438,7 @@ struct xenevtchn_handle; struct precopy_stats { unsigned int iteration; - unsigned int total_written; + unsigned long total_written; long dirty_count; /* -1 if unknown */ };